package edu.ctbu.insurance.vo;

public class Result<T> {
    private Integer code;//返回码
    private String msg;//消息
    private T data;//数据

    public Result(){

    }

    public Result(T data){
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}
